﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NoDriverPrintHelperV1d0.Entity
{
    /// <summary>
    /// 打印机配置信息
    /// </summary>
    public class PrinterInfoV1d0
    {
        public Guid id { get; set; }
        /// <summary>
        /// 所在位置
        /// </summary>
        public string printer_place { get; set; }
        /// <summary>
        /// 打印机名称
        /// </summary>
        public string printer_name { get; set; }
        /// <summary>
        /// 打印机ip
        /// </summary>
        public string printer_ip { get; set; }
        /// <summary>
        /// 打印机端口
        /// </summary>
        public int printer_port { get; set; }
        /// <summary>
        /// 打印机状态
        /// </summary>
        public int printer_status { get; set; }
        /// <summary>
        /// 状态更新时间
        /// </summary>
        public DateTime status_update_time { get; set; }
        public PrinterInfoV1d0()
        {
            id = Guid.NewGuid();
            printer_ip = "192.168.3.99";
            printer_port = 9100;
            status_update_time = DateTime.MinValue;
        }
    }
}
